﻿using FreeSql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZFBActivation
{
    public class DbContext
    {
        static DbContext()
        {
            DB = new FreeSqlBuilder()
                .UseConnectionString(DataType.Sqlite, "Data Source=ZFBActivation.db")
                .UseAutoSyncStructure(true)
                .Build();

        }

        public static IFreeSql DB { get; set; }
    }
}
